package com.stepforward.me;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;

public class RoutePlanEntry extends Activity {
	
	@Override
	public void onCreate(Bundle savedInstanceState) {
	    super.onCreate(savedInstanceState);
	    setContentView(R.layout.main);
	    Button keyButton = (Button) findViewById(R.id.keyButton);
	    
	  
	    keyButton.setOnClickListener(new View.OnClickListener() {       
			public void onClick(View v) {             
				EditText editText = (EditText) findViewById(R.id.keyEditText);
			
				Intent intent = new Intent();
				intent.setAction("DatePicker");
				intent.putExtra("licenseKey", editText.getText().toString());
				startActivity(intent);
			
			}        });   
	}
	
}
